//
//  CountView.h
//  SelectSpec
//
//  Created by 吴欧 on 20/10/21.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CountView : UIView

 
@property (nonatomic, copy) NSString *leftImage;
@property (nonatomic, copy) NSString *rightImage;
@property (nonatomic, assign) CGFloat textTFWidth;

/**
 默认数量
 */
@property (nonatomic, assign)NSInteger count;
/**
 最大库存
 */
@property (nonatomic, assign)NSInteger goodstock;

/**
 选择数量回调
 */
@property (nonatomic, copy)void (^CountBlock)(NSInteger num);

- (instancetype)initWithFrame:(CGRect)frame withLeftImage:(NSString *)leftImage rightImage:(NSString *)rightImage;

@end
